package com.molichuxing.services.infrastructure.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.molichuxing.framework.dao.RootMapper;
import com.molichuxing.services.infrastructure.bean.StockBean;

/**
 * <p>
 * 仓库 Mapper 接口
 * </p>
 *
 * @author liyg
 * @since 2019-08-20
 */
public interface StockMapper extends RootMapper<StockBean>{

	/**
	 * 修改仓库信息
	 * 
	 * @param stockBean
	 * @return
	 */
	int updateById(StockBean stockBean);

	/**
	 * 获取仓库信息
	 * 
	 * @param ids
	 * @return
	 */
	List<StockBean> getByIds(@Param("ids")List<Integer> ids);
    
}